updated views for login and homepage