Added registration and login.