added statements to insert orders into database