created the login view