Improved the user registration process.