add a modular mechanism for custom URLs+status