RC522 with 1channel relay coing error

Rc522 with 2led and 1chanel relay .How to put RFID Tag key in coding