added check out process that adds orders and order products to database and returns if the order was completed successfully