Also, `eid` is misleading as a parameter name, in the source script it stood for _external identifier_, while the expected meaning is _username_. Use either `username` or the shorter `u`. Also, I'd move it in the `XWiki` space, since it's dealing with an official XWiki feature, not something specific to PhenoTips/PhenomeCentral.