resove bug: can not login