updated logout
Merge pull request #38 from mattinm/master

updated logout