add ability to edit existing accounts + fix a build issue