implemented logout
Merge pull request #22 from silkstream/clayton

implemented logout