adds group memberships and checkboxes