added routes for agent controller