implementing the deletion of roles