LocalStorage functionality added