changed register/login interactions