added getAgents to data services and controller