Answer to #2 saving to mongo and previous purchase page
Ignore the bellow commits. messed up the formatting.