add callback chain when a route is called