prevent duplicate users, edits