add redirect to prevent sql injection attempts to view other carts or display code if cart is invalid