Fixes #3
Add logout to client