Added better login script