public function createUser() {
        $data = array();

        foreach ($this->userFields as $base => $field) {
            $data[$field] = $this->getFieldInput($base);
        }

        $model = ClassRegistry::init($this->usersModel);
        $model->create();
        $model->save($data, false);

        $this->config = $data;
        $this->user = $model->find('first', array(
            'conditions' => array($model->alias . '.' . $model->primaryKey => $model->id),
            'recursive' => -1
        ));

        return $model->id;
    }