WIP: use route helper when checking URL
WIP: Use route helper to set Federate logout path
WIP: Add comment to explain @resource_name lookup