add check stored user info when init the mainCtrl to validUser variable
fix the right path to phonegap js file to use console in IDEs