I can now write two users into the flash memory, but for some reason the third one doesn't work.  When the save_user function reads the number of users' (stored in memory location 0x005000), it reads -1 the first time (expected), 1 on the second time (expected), but then 0 on the third.  That value may not be storing correctly, or something else may be overwriting it.