Add tests for /users route
Add NewJSONErrors func for JSON API compatible errors and tests for it
Add JSON func for rendering JSON and tests for it
ListUsers: get users from the database
Open test database before testing
Add toInt and intVal helper functions and tests for them
Add tests for /users/:id route
Satisfy tests
Add middleware chainer
Add /login route and tests for it
Add NotFound handler
Start implementing JWT auth
Add Bind func for decoding JSON request body and tests for it
Satisfy tests for /login route
Add CheckPassword func and tests for it
Implement real authentication
Add tests
Satisfy tests
Reject login attempts from deleted users
Open the database in the main func, at last