added data to local storage