add agents/:id/events action
add agent_id column to events