added search for groups and teams