   f += pageFooter;
   return f;
 }
-
 void handle_wifi() {
   Serial.println("serving page at /wifi");
   String toSend = genAPForm();
   webServer.send(200, "text/html", toSend);
   delay(100);
 }
-
 void handle_wifistatus() {
   Serial.println("serving page at /wifistatus");
 

  toSend += "</li>\n";
  toSend += "\n<li>Soft AP IP: "; toSend += ip2str(WiFi.softAPIP());
  toSend += "</li>\n";
  toSend += "\n<li>AP SSID name: "; toSend += ssid;
  toSend += "</li>\n";

  toSend += "</ul></p>";

    Serial.println("set hostname succeeded");
  else
    Serial.println("set hostname failed");

  blink(3);
}

/////////////////////////////////////////////////////////////////////////////
// looooooooooooooooooooop //////////////////////////////////////////////////
void loop() {
  dnsServer.processNextRequest(); // TODO don't do this if wifi config'd and connected
  webServer.handleClient();
  delay(10);
