The interface for the "Add Event" function
The add event interface