       flash_LED(Green_Led, 2000);
     }
     Serial.println();
+    delay(2000);
     
   }
 

  dbPath += lotID;
  randIndex = random(1, 100);
  cardID = randomCard(int(randIndex));

  const char* c = dbPath.c_str();
  Serial.print("Checking for authorization of cardID: ");
  Serial.println(cardID);
  Serial.println(dbPath);
  int statusCode = client.post(c, "POSTDATA", &response);
  
  if(response == "{\"authorized\":true}")
    return true;

  const char* c = dbPath.c_str();
  Serial.println(dbPath);
  int statusCode = client.post(c, "POSTDATA", &response);
  if(statusCode == 200)
    dbSuccess++;
  else
    dbFailure++;
  Serial.print("Successful DB Requests: ");
  Serial.println(dbSuccess);
  Serial.print("Failed DB Requests: ");
  Serial.println(dbFailure);
  Serial.println(statusCode);
  
}

bool swipeCard() {
