split registration workflow in two steps