refactoring
Ignore TSR for root path

Avoids endless redirect loop