extend login_view with validation