change behavior of login system