get('/', function ($request, $response, $args) { // Render index view return $this->renderer->render($response, 'index.phtml', $args); })->add(new Auth\Middleware()); } }