modified the LoginView