Adding error handling when deleting an authorized user