User logout

Clicking logout on the main page logs the user out of the site and shows the login/register buttons