added local storage adapter so data persists between application loads