Fixed bug in loginscreen.