Added admin checks to the product controller.