Correct Logout

Logout was working locally but not on the global site. This should
correct the issue.