added product controller
create function for view product detail