Added validation to Product model