* update login and register.