getting the login dialog to show