Submitting the order and displaying the history of orders