Added a new class for writing out to the xml file for new orders. Added some logic to the confirmation page to use the new class. Disabling the redirect to login page when not logged in to make testing easier.