PhoneGAP client-side project with a basic authentication example