refactor ConfirmationsController