Added validation for UserEditModel.