[BUGIFX]Changed adapter url to localhost
[BUGFIX]Pre route returns error, if cant find session
[BUGFIX] Take picture only shows if cordova app
[ENHANCEMENT] Added error handling to as many places as possible