Added user registration.