Adds checks and JSON validation to PUT /users/:username