Added email to the serialization output
Now it's possible to update previous authorization instead of trying to create another one.
Removed demo code.