private function do_creator_action(array &$data)
 {
     $gamesModeration = new GamesModeration(ModelUser::getCurrentUser()->getId());
     if (isset($_POST['kick'])) {
         $gamesModeration->kickUser(intval($_POST['kick']), $this->id_game);
         $data['status'] = array('message' => 'User successfully kicked.');
         return;
     }
     if (isset($_POST['change_pw'])) {
         $gamesModeration->changePassword($_POST['password1'], $_POST['password2'], $this->id_game);
         $data['status'] = array('message' => 'Password successfully changed.');
         return;
     }
     if (isset($_POST['start'])) {
         $gamesModeration->startGame($this->id_game);
         $data['status'] = array('message' => 'Game successfully started.');
         return;
     }
     if (isset($_POST['delete_affirmed'])) {
         $gamesModeration->deleteGame($this->id_game);
         $data['status'] = array('message' => 'Game successfully deleted.');
         return;
     }
 }