add checking user for editing