adding endpoint for event data and calendar library