redirect logic for past purchases