Added the logout method.
Merge pull request #61 from kaysoky/logout

Added the logout method