Added route for /purchases GET endpoint