RC522 Door opener

Can anyone please advice on how to remove a card or tag from EEPROM If tag is missing
code is in attachment

AccessControl_RC522.ino (25.5 KB)