groups: improve users selection