Logging out redirects to front page