repository: suporting configurable user when returning remote