Added login view and made changes necessary to implement it