Adding in check_group_membership, need to test.