   for (uint8_t i=0; i<(sizeof validUserIDs / sizeof validUserIDs[0]); i++) {
     if(matrixValue == validUserIDs[i][0]){
       userShift = validUserIDs[i][1];
+      authenticatedUser = i;
       return true;
     }
   }
+  authenticatedUser = 0;
   return false;
 }
 

  {38505, 6},
  {42405, 8}
};

uint8_t userShift;


}

/*
 * Read & Process trellis LEDs
 */

void getMatrixInput() {
