automatically load local storage data if any