adding customization to redirect template