Use core data to persist user data.