implemented listing of orders and viewing order details