Use document_url instead of coupling to database with document_id