localstorage is working perfectly, and all is done