Card #147 - handle duplicate staff usernames (edit existing)
fix for codes (link jsonignore)