              "</script>\n"
              "</div></body></html>\n";
   server.send(200, "text/html", contenu);
-  Serial.println("");
-  Serial.println(addy);
-  Serial.println(userAgent);
-  Serial.println("Page acceuil");
+  logeurln("");
+  logeurln(addy);
+  logeurln(referer);
+  logeurln("Home page");
   logtourne();
   logs[1] = addy;
   logs[1] += " : Acceuil";
-  logs[1] += " : userAgent :";
-  logs[1] += userAgent;
+  logs[1] += " : referer :";
+  logs[1] += referer;
 }
 
 //reset page
 void handleReset() {
   int ouireset = 0;
   String addy = server.client().remoteIP().toString();
-  Serial.println("");
-  Serial.println(addy);
-  Serial.println("!!! PAGE DE RESET !!!");
+  logeurln("");
+  logeurln(addy);
+  logeurln("!!! RESET PAGE !!!");
   String testteu = server.arg("RESET");
   String passme = server.arg("PASSMOI");
   logtourne();

  contenu += "\n<br></div></body></html>\n";
  server.send(200, "text/html", contenu);
  if (usesenseurdallas == 1) {
    Serial.print("Température : ");
    Serial.println(latemp);
  }
  if (usesenseurdht == 1) {
    Serial.print("Temp2 : ");
    Serial.println(t);
    Serial.print("Humidité : ");
    Serial.println(h);
  }
  logtourne();
  logs[1] = addy;

    g = vert;
    flashoufade = 0;
    flashrendu = 0;
    logeur("Flash finished");
  }
}

