pass the context to the router