Added MS account registration and reset functionality.
Generate verification keys on the client, to save the MS the effort.