Updated the logout links to the templates