added compare page and ajax pipeline for results