updated methods for editingUser.