fixed a bug about return msg an login succeed.