Added login view and authentication