Completing user registration and login.