Added validation for event name and location fields