add doc route properly