correct indenting for the product controller
added a validateProductData function