Add routing to index.