$dataArray['user_id'] = $this->Author instanceof User ? $this->Author->id : $this->user_id;