Different Authentication Examples with Cordova(Phonegap) & Web Services