format router
add pagination