adding local storage lib