Added logout link to the template