Fixing the login