[BugFix] build datas of main.Profile when registering a new user.