Working datatable and new method to retain localstorage with ID for better search