add local storage for save input data