Update username on email change

Update encoded username on email change

Update the encoded username (derived from the email address) when changing the email address on the personal page.

Fixes #101.