Do not init faye when user has not logged in.

The Javascript error can block js execution in Firefox, and lead to bug
like #135
Merge pull request #141 from doitian/bug/135-js-error-block-execution-in-firefox

Do not init faye when user has not logged in.