added route for snippets