cleaned up login view