Used route names for security paths
Merge pull request #2256 from WouterJ/security_paths

Used route names for security paths