Replaced header() with the dispatcher redirect method