createRepositoryFactory

Create a RepositoryFactory for the given User.