'edit' state
progress on editState & better auth handling