Endpoints and UI for media return and borrow