added socket.io loading bar