Correct bug in login