added a login script