db access to cart
cartData still have bugs