implemented logic to display proper address on purchase page