implemented adding times from form to api call for creating events