Attempt to fix the login bug