Got local storage working