Implemetation of Cognalys mobile number verification/ two factor authentication in phonegap applications