Update routes.js
Update index.ejs
Merge pull request #2 from irlnathan/master

This should fix the flash issues