Started integrating socket.io
Fixed the client side error showing issue.