Let's Make Robots!

Need assistance.

RFID Module Assistance Needed

Okay i have this rfid module which has a serial UART interface
Its been a pain in the backside for three days now and i'm getting really fraustrated so it's time to call in the LMR professionals!
My problem consists of two, maybe more issues which i'm having a hard time with and im sure you would to if you was a noob with rfid modules so here is my problem
Here is the module http://www.elechouse.com/elechouse/images/product/13.56MHZ_RFID_Module/13.56MHZ_RFID_Manual.pdf
I'm trying to figure out how to write properly to the card

Here is some code i wrote: