Minor update to updateUser() function
Document existing code
Meet contributing requirements
Add support for creating users through the API.