service response template and signin redirect consolidation