#login: [hanrobyn & wulingzi] - fix logout bug