Logout function implementation.
Merge pull request #10 from yuji-shimoda/issues/#3

Logout function implementation.