So I console.log after the async function but it does not do anything. It also disables the click functions of the buttons.
After the async function login(), I also have an async function logout() . The console.log you have mentioned for me to try, I have placed in between these two functions.