fix and improve LoginView