Fix the login error