Add the functionality into the orders route