     
     while (checkWifiConnected() == 0)
       {
+        LWiFi.connect(setting.wifi_ssid, LWiFiLoginInfo(wifi_auth, wifi_pass));
+        Serial.println("WebPage DefaultMode");
       }
     server.begin();
+    while(1){  
       webserver_loop();
+    }
   }
   
    if(LED_MODE != LED_MODE_OFF){ // LED_MODE_OFF never light on  

}

//----- MQTT -----
#if ALARM_ENABLE == 1
void msgDisplay(char* topic, byte* payload, unsigned int len){
  int i;

    }
    String wifi_pass=setting.wifi_pass;
    wifi_pass.trim();
    while (checkWifiConnected() == 0){
      Serial.println("Connect WIFI");
      LWiFi.connect(setting.wifi_ssid, LWiFiLoginInfo(wifi_auth, wifi_pass));
      delay(1000);
    }
    Serial.println("Wifi Connected...send NTP info now");
    Udp.begin(2390);
    retrieveNtpTime();
