protected function submitEditUser()
    {
        if ($this->isPosted('delete')) {
            $this->deleteUser();
        } else if ($this->isPosted('save') && $this->validateEditUser()) {
            if (isset($this->data_user['user_id'])) {
                $this->updateUser();
            } else {
                $this->addUser();
            }
        }
    }