This is my code for frontend which calls for my session
await fetch("https://localhost:5001/api/session", { method: "GET",