Add autosave: true to User belongs_to relationship to ensure data consistency