changes to login system