update console utility; update error middleware/model; update users controller