Fixed bug on login screen

Fixed bug on login screen.