Added the checkIfConfirmed check to all the endpoints added.