added validations to the product listings