add methods to create and edit user

- uses undocumented API functions
test for get_user method