prepare for simplification of user registration.