fix login process.But update st still can't work properly.