Fix the login issue