Adds error handling for invalid carts controlled by session
new cart functionality delete and add total