Working register and login.