change logout behavior
Merge pull request #607 from patriot1burke/master

change logout behavior