Made it so the login screen doesn't change orientation, and disabled the  back button for the home page.