public function deldeviceAction()
 {
     if ($_GET['id'] != "") {
         require_once 'models/homeModel.php';
         $model = new homeModel();
         echo $model->delDevice($_GET['id']);
     }
 }