20131220 fix logout bug