RFID, SD card and real time clock door lock

Look at the setup and loop function. That is what your functions should look like only with diffrent names.
That code will not compile. Do not use #includes inside a function.