Fix crash when you not login.