bug in login