basic impl of localstorage in app controller