Added createUser method to User Resource class and stub for test case.