update console utility; update error middleware/model; update users controller
add authentication; todo: move authentication to middleware