Make res.locals.error an array (to match value if getting from flash) and rename to errors