adding a separate file for configuration details.
pushing in sample username/password details.
added the network information cordova plugin
added check for available network connection
ajax back for token