Minor bug in login