update session of 'user' and 'cart' after creating an order