stores person to local storage.