made validation for model creation 'contactModel.name, contactModel.age'