public function login() { $_SESSION['se_user_id'] = $this->id; // log it UserLog::userLogin($this->id); }