updated with login view