updated with logout link

updated with log out with sessions handling