Added user input validations to event model.