Fine tune logging & add 404, 500 routes