added local storage logging and ability to inspect