Add price compare logic to index and controller