JWT is now stored in cookie instead of localStorage changed APIs: -> /api/auth/login -> /api/auth/signup new APIs: -> /api/auth/logout
now saved on page refresh. The game state is stored on the server and when the user refreshes the page the game state is fetched from the server on socket re-connection Next step: stop user from making any move when the use is viewing past moves