public function deletepic()
 {
     $pic = servicePic::find($_GET['picId']);
     unlink($pic->pic);
     $pic->delete();
     echo 'ok';
 }