//Add user to system community also
cc.addCommunityMember(cookieLookup, systemGroup.getId().toString(), "Infinit.e System", pp.get_id().toString(),
pp.getEmail(), pp.getDisplayName(), "member", "active", true);
}
rp.setResponse(new ResponseObject("WP Register User",true,"User Registered Successfully"));
rp.setData(ap, new AuthenticationPojoApiMap());
// OK we're all good, finally for API key users create a persistent cookie:
if (null != ap.getApiKey()) {
// (if we're here then we're already admin so can always do this - unlike the update)
CookiePojo cp = new CookiePojo();