Fixing logout.
Merge pull request #8 from pedroigor/master

Fixing logout.