Fixed logout issue

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Merge pull request #29 from hassanNS/logout-fix

Fixed logout issue