Added support to redefine users of a repository

Thanks, @scorphus :)
See #167