add auto-saving of user object