Working registration and login.