CHANGED:applied the UserService->createUser implementation