add routermiddle for httprouter