add controller methods for product detail