public function getSignOut($request, $response) { $this->auth->logout(); return $response->withRedirect($this->router->pathFor('home')); }