properly handle missing users/ accounts