Made it possible to register as a new user.