added login view and form