append history of orders to new container, added total orders for user