added logout link to the main page