chekout from cart + state between pages