change the cookie after commit and add the orders page