moving the api call for each product back into products_controller