small change at the `$app->before()` controller