Added logout link to template