here it is the code root of the page (sitename/api/logout):
var cookie = require("cookie"); export default async function handler(req, res) { res.