public function login() { $s = new Session_Model($this->template, $this->router->query_string); $s->login(); $this->template->render('login', 'json'); }