Add logout link when needed