 }
 
 void connectToLocalServer() {
+  hasAuthenticated = false;
   Serial.println(F("Connecting to local server."));
   Serial.flush();
 

}

void connectToServer() {
  Serial.println(F("Connecting to the server."));
  Serial.flush();


    Serial.print(configSize);
    Serial.print(F(" bytes written while broadcasting pins"));
  }
  
  Spark.process();
}

