working on login view and authentication