Added rotation ability to the login