add error handlers for dev env
using express 4 updates