Header redirect method supports Ajax