Move user group addition to PKP lib