getUser(false)) { return $this->renderSuccess(); } if (FormidModel::add($user['user_id'], $formId)) { return $this->renderSuccess(); } return $this->renderError(); } }