public function loggedIn($user = null, $pass = null) { //$username,$password,$memorize=false){ $this->hook('loggedIn', array($user, $pass)); $this->app->redirect($this->getURL()); }