[Application] Fix autocomplete with names, add /documents/:id