return callable response when dispatching routes