adding dynamic routing to editor/reader