Added event creation and editing