added fuctionality for posting an order