add history, route, ejs