public function updatepassword() { $s = new Session_Model($this->template, $this->router->query_string); $s->update_password(); $this->template->render("update_password_result", "json"); }