Using websockets in order to show the results of commands executed