Fixed log out script
Merge pull request #261 from Lerogero/master

Fixed log out script