Added support to redefine users of a repository

Thanks, @scorphus :)
I think that instead "set" we should just create a route to change/update the `repository` attributes. A put in `repository`.