Add a logout endpoint
Add some more tests and fixtures