Don't query the customers table to find the purchase history. Will re-enable this in the future once a few kinks are resolved