Fixed the login issue