checking in the login script