add deletion of orphans in the groups collection
add recursive deletion for pages