Don't use a logger
Refactor index redirect