Implemented user registration and user data duplicate checks for internal API.