update login script #2