force re-login
fix logic error