Fixed global Authentication

* Included a global authentication service.
* Redirecting upon $firebaseSimpleLogin:logout