get('/berichten', function ($request, $response, $args) { return $this->renderer->render($response, 'berichten.phtml', [ 'header' => Header::getHeaderData(), 'berichten' => BerichtHelper::getUserBerichten() ]); })->add(new Auth\Middleware()); } }