Initial code to the user registration workflow using the IDM API.