use model in view index.ejs