moved socket to show.ejs