public function getwoouserdata()
 {
     return $this->hasOne(WooUserData::className(), ['id' => 'id']);
 }
 /**
  * Deletes an existing User model.
  * If deletion is successful, the browser will be redirected to the 'index' page.
  * @param integer $id
  * @return mixed
  */
 public function actionDelete($id)
 {
     $this->findModel($id)->delete();
     WooUserData::find()->where(['id' => $id])->one()->delete();
     return $this->redirect(['index']);
 }