Handler dependency injection, gethandler restricted routes