         Serial.println("server received /");
         IPAddress ip = WiFi.softAPIP();
         String ipStr = String(ip[0]) + '.' + String(ip[1]) + '.' + String(ip[2]) + '.' + String(ip[3]);
-        content = "<!DOCTYPE HTML>\r\n<html>Hello from ESP8266 at ";
+        content = "<!DOCTYPE HTML>";
+        content += "<html>";
+        content += "<head> <meta charset='utf-8'> <meta http-equiv='X-UA-Compatible' content='IE=edge'> <title></title> <meta name='description' content=''> <meta name='viewport' content='width=device-width, initial-scale=1'> <link rel='stylesheet' href=''> </head>";
+        content += "<style>";
+        content += ".redInput {display: flex; justify-content: space-between; width:  60%; margin: .5rem;}";
+        content += "input[type=submit]{background-color: #4CAF50; border: none; color: white; padding: 16px 32px; text-decoration: none; margin: 4px 2px; cursor: pointer;}";
+        content += "</style>";
+        content += "<body>";
+        content += "<h2>Welcome to redDevice WiFi Setup at IP Address:";
         content += ipStr;
-        content += "<p>";
+        content += "</h2>";
+        content += "<h4>Please select your WiFi network and enter the pass key</h4>";
+        content += "<form method='get' action='setting'>";
         content += st;
-        content += "</p><form method='get' action='setting'><label>SSID: </label><input name='ssid' length=32><input name='pass' length=64><input type='submit'></form>";
+        content += "<div class='redInput'><label>Key: </label><input type='password' name='pass' length=64></div>";
+        content += "<input type='submit' value='Enter'>";
+        content += "</form>";
+        content += "</body>";
         content += "</html>";
         server.send(200, "text/html", content);  
     });

     }
  }
  Serial.println(""); 
  st = "<ol>";
  for (int i = 0; i < n; ++i)
    {
      // Print SSID and RSSI for each network found
      st += "<li>";
      st += WiFi.SSID(i);
      st += " (";
      st += WiFi.RSSI(i);
      st += ")";
      st += (WiFi.encryptionType(i) == ENC_TYPE_NONE)?" ":"*";
      st += "</li>";
    }
  st += "</ol>";
  delay(100);
  WiFi.softAP(ssid, passphrase, 6);
  Serial.println("softap");

unsigned long startTime;
long timeHeld;
/////////////////////////////////////////////////////////////////////////////////////////////////////////
void connect2Wifi() {

  delay(10);
  WiFi.begin();
