Adding the code to fix the DCR: generate error when different user is authenticated.