added logout link when user logged in