refactor orders_controller and order_lines_controller in borrow section