Implemented user login/logout and views