Adding authentication for phonegap.