implemented reading users from groups