const _userProducer = function (resource, callback) {
  const user = resource.resourceData ? resource.resourceData.user : null;

  // If the user was provided in the resource data, use it instead of fetching
  if (user) {