add base io to routes. modified index.ejs