Fix sign out bug and tests
Merge pull request #12 from seniorihor/bug_fixes

Fix sign out bug and tests