Remove unnecessary handler
Make sure we're sending JSON content-type
Add constants for JSON content type and error
Add test for CreateUserApi
Add CreateUserApi and pass test
Add test to validate incoming JSON structure
Test for malformed/invalid JSON
Rename test for better clarity
CreateUserApi passes tests
Use new()
Return after error, use JsonContentType
Add test and error message for user already existing
Return after error
Don't create user if it already exists
Better strings
Add tests for CreatePassword
Add CreatePassword, satisfy tests
Add tests for CreateApiKey
Add GenerateApiKey