Added auto login.