Fix logging out
Merge pull request #16 from chrisun/fix-logout

Fix logging out