Added logout functionality. Started implementantion of user profile.