getAgentInfos() now only returns approved agents