modified login system