Finished the login dialog