fix logout
Merge pull request #619 from patriot1burke/master

fix logout