added validation to the event model