Fixed some issues with the cordova angular services. Now login status works