fix for mongoose model validation

passing model as argument directly instead of looking up in this (app.locals) since that didn't work, breaking all form validation