RFID to Control LED

Your code for this is inside the test of the success variable. Shouldn't it be in loop() and not dependant on the value of success ?