update login auto redirect.