first pass at routing for document IDs working