minor changes to session management workflow. upgrades to cordova-2.9.0.