correction bug templates jade
added custom plugin for mongoose