improved router and url logging