moved things from index.ejs to layout.ejs