Added an events route for the API