after running this instance with the nohup commnad, I changed the code to put the error msg on the browser when there is one