added product validations on the model