Add check of Event parameters and implemented deleteEvent method