Added function to get a particular event by id.