adds local storage adpater