Refactor PUT and added DELETE in ConfessionsController.js.