frontend - correctly store id of new user in edit table