Socket.io server emitting an empty array to the client
**In the input box of my app, I type a message and expect the message to be transmitted to the server and then transmitted back to the client so as to map the information to my UI.
While transmitting to the server seems to be working correctly, getting back the information from the socket.io server does not seem to work and returns an empty array.