Use routing for security paths

Uses https://github.com/openclerk/routing component