Merge pull request #4 from tart/dogar

Dogar
Fix js style.
Handle anonymous users.