Chaning login script