auth = $auth; } public function page($options, $title, $template) { $loggedIn = false; $role = 0; $handle = "Random Person"; $result = $this->auth->status(); if ($result["status"]) { $loggedIn = $result["status"]; $handle = $result["handle"]; $role = $result["role"]; } return $this->render($template, [ "title" => $title, "loggedIn" => $loggedIn, "handle" => $handle, "role" => $role, "options" => $options, ]); } }