Fixing huge security whole with persist codes for users.

Signed-off-by: Ben Corlett <bencorlett@me.com>