socket.connect() and then socket.emits an event but for some reason when i refresh the app the component mounts right? and that should fire the emit event right? but it doesnt? its not received in the backend for some reason useEffect runs and it does but in the backend i dont get any logs from the event it should catch console.log("A user connected:", socket.id); on the terminal but not console.log(Received login event for userId: ${userId});