<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Enter Class</title>
    <!-- Firebase App (the core Firebase SDK) must be listed first -->
    <script src="https://www.gstatic.com/firebasejs/7.15.1/firebase-app.js"></script>
    <!-- Firebase Authentication -->
    <script src="https://www.gstatic.com/firebasejs/7.15.1/firebase-auth.js"></script>
  </head>

  <script>
    function getToken() {
      var firebaseConfig = {
        apiKey: "AIzaSyA1r_PfVDCXfTgoUNisci5Ag2MKEEwsZCE",
        authDomain: "fulfillment-deco-step-2020.firebaseapp.com",
        databaseURL: "https://fulfillment-deco-step-2020.firebaseio.com",
        projectId: "fulfillment-deco-step-2020",
        storageBucket: "fulfillment-deco-step-2020.appspot.com",
        messagingSenderId: "7165833112",
        appId: "1:7165833112:web:3b4af53c5de6aa73b7c5ed"
        };

      // Initialize Firebase
      firebase.initializeApp(firebaseConfig);

      var user = firebase.auth().currentUser;
      firebase.auth().onAuthStateChanged(function(user) {
        if (user) {
          user.getIdToken().then((token) => setToken(token));
        } else {
            console.log("user not logged in");
        }
        });
    }

    function setToken(token){
      let forms = document.getElementsByName("idToken");
      forms.forEach((form) => form.value = token);
    }

    function logout(){
      const request = new Request('/delete-data', {method: 'POST'});
      fetch(request);
    }
    
  </script>

  <body onload="getToken()">
    <div id="queue_status">
      <h1>hello TA</h1>
    </div>
  </body>
</html>
Create filler html page to test redirect from enterClass page
Create filler html page to test redirect from enterClass page
