added verification when editing users