adding a debug footer and activating custom routes