fix flash in index page
finish index.ejs
finish post