changed routes to use resources, changed checkoutcontroller to be checkoutscontroller and made necessary changes to reflect that