Updating the REST API (verify login register)

Deleting the all code generated for the given mobile number.

Updated the check Login query  insted of two different query now we have
single query t check whether  user is valid or some trying to hack the
system.

Register this device is the user mobile number already exists