fix loginHandler function
Merge branch 'master' of https://github.com/fugr/comm