Managed to register both people and groups