Add disable_autosave function to user.