RFID to Control LED

As an experiment try printing a message when you turn the LED on and off. Is it happening when you expect it to ?