Add user_data_version to a generated server template

fix #533