Added validation to the Product model