def access(token, email)
      config = load_config(token)

      return false unless config
      return false unless config[:email].to_s == email.to_s
      return false unless config[:access_count] > 0

      save_config(token, config.merge(access_count: config[:access_count] - 1))

      true
    end
def access(token, email)
      config = load_config(token)

      return false unless config
      return false unless config[:email].to_s == email.to_s
      return false unless config[:access_count] > 0

      save_config(token, config.merge(access_count: config[:access_count] - 1))

      true
    end
accesses token for given email if it is allowed