Fix route after creating account
Add start-date and end-date parameter to PurchaseController::index