HTTP status code for a successful PUT request should be 200(OK). HTTP status code for a successful registration should be 201(CREATED). HTTP status code for login/register with missing parameters should be 400(BAD_REQUEST).
Merge pull request #1 from hugolantaume/master

http status codes