How to check if user sent me the BTC?
I would suggest using a Web API to get notified when a transaction happens on the address(es) you're interested in, it's by far the simpler. Something like this may help:

http://dev.blockcypher.com/#websocket_webhook