adding pageType key to newSearch data