change the login view mode