it now passes a randomly generated collection name in the api call
ported method to propagate checkboxes
changed both tables to be referred to as "table" so that the cart controller works on the new table