Added a user login and updated views