add apis for router