Simple custom login script