Redirect to home on logout.
Reliable pattern to ignore Firebase local changes.

The Firebase js client design is really wrong designed. This is temp
workaround, and the only one good solution is not use Firebase in
browser. TODO: Move Firebase logic to server.
Use firebase sync and clean comments.