add login/signup behavior