Enables a log out button that purges the cookie and reloads the page.