adds route to index