Added createUser client method, submits JSON object. Updated test cases