made controller for displaying product details