modify auto login script