using local storage to access user, id, ... from popup.js