Implemented AngularFire authentication