refactored carts in sessions to use a dot