 }
 
 /////////////////////////////////////////////////////////////////////////////
+// config utils /////////////////////////////////////////////////////////////
+boolean getCloudShare() {
+  boolean b = false;
+  File f = SPIFFS.open("/cloudShare.txt", "r");
+  if(f) {
+    b = true;
+    f.close();
+  }
+  return b;
+}
+void setCloudShare(boolean b) {
+  if(b) {
+    File f = SPIFFS.open("/cloudShare.txt", "w");
+    f.println("");
+    f.close();
+  } else {
+    SPIFFS.remove("/cloudShare.txt");
+  }
+}
+String getSvrAddr() {
+  String s = "";
+  File f = SPIFFS.open("/svrAddr.txt", "r");
+  if(f) {
+    s = f.readString();
+    s.trim();
+    f.close();
+  }
+  return s;
+}
+void setSvrAddr(String s) {
+  File f = SPIFFS.open("/svrAddr.txt", "w");
+  f.println(s);
+  f.close();
+}
+
+/////////////////////////////////////////////////////////////////////////////
 // misc utils ///////////////////////////////////////////////////////////////
 void ledOn() { digitalWrite(BUILTIN_LED, LOW); }
 void ledOff() { digitalWrite(BUILTIN_LED, HIGH); }

      toSend += "<p>...at ";
      toSend += svrAddr;
      toSend += "</p>";
    }

    // TODO else if got "wegrow" turn cloud server share on
  }

  // TODO persist the config

  // TODO some way of verifying if server config worked

  toSend += pageFooter;
  webServer.send(200, "text/html", toSend);

  toSend += ": server configured";
  toSend += pageTop2;

  boolean cloudShare = false;
  for(uint8_t i = 0; i < webServer.args(); i++) {
    if(webServer.argName(i) == "svraddr") {
      svrAddr = webServer.arg(i);
