updated TODOs
added unit test for logout stuff (taken from angularFire-seed)