socket.io added to ensure server functionality