refactor user service resources to use a base class where payload is handled uniformly