Improve logout
Merge branch 'master' of https://github.com/TheCastleOfGoblins/SwordsAndBooks