Updated to use layout.ejs