add UserData.as to registration