move group-memberships to edit view and implement the full membership
logic