user profile and user login/logout functionality added