Added auto login when logged in earlier.