added html/css for log purchase and previous transactions