added avatars and Logout mechanism