Logging out the user before another attempt to log in