validate that start time is before end time when adding event