When I call fetch function - I get the correct token from backend application. But everytime in this program , even when I get the incorrect token - the program moves to StudentLobby (and that need to happen only when i get the correct token).
what i'm missing?