load prev order api; display it in the navbar;