add the query product server side implementation