chat.coffee: redirect to /login if not logged in