Added Logout Functionality

User session is checked on page refresh and logout button destroys
session. Page elements based on user session like name and avatar also
fixed to display correct data on page refresh.