function getUser() {
  return browser.storage.local.get('user').then((v) => {
    if (v && v.user) {
      return v.user;
    }