Database now modified properly when product is added to cart