Pins 12 used problem

You have to wire the SS pin of the reader to pin 9 of the Arduino if you changed the code as you wrote.