I can't say I understand how the login script works.