Update server.js

add error handle of not found client