final fix for the phonegap libraries. implement creating of mock contact in loginpage