changed layout to ejs file