When logging out, do not simply refresh the page which restarts the application. Uninitialize resources and show the login dialog.
// We may want to implement a way to logout without restarting the entire application (especially for SparkAir)
// All of the managers would deinitialize and unregister their event listeners. Then SparkWeb would show its login dialog.