Changed refresh url string to the one in the header