modify the login dialog UI