Rfid rc522

Hello, I am just getting started with the variety of things possible with OpenHAB. Currently I would like to use the RFID reader RC522 to lock/unlock/send notifications, but have not seen many topics on this. Any help is great, and I would like for this to run on the boot-up of the Raspberry Pi. Currently I’m using versions 2 and 3 both model B. Also I am not able to get the GPIO pins to turn on and off like they should. I’m not sure what to do.

Found a mistake for the GPIO pins and after a reboot have started working, but still not sure on how the RFID reader will work or even how to code.