Move CreateUserFieldsTemplate to a separate file

Change-Id: I2521032ebd8b38950845d8050b4dc322e3467257