account

username:
authorization:
session-id:
User enters username, email, password. A new account is created for this user with auth=registered, and a Temporary Identification Code is emailed to the user.
Logged-in-user enters the Temporary Identification Code from the email and his password. The account is changed to auth=verified.
User enters username or email, and password. The user is logged-in.
No user input. A previously logged-in user is logged-in silently at startup. Refresh the page to test.
No user input. Logged-in-user is logged out.
User enters username or email. The account is changed to auth=resetpending and an email containing a Temporary Identification Code is sent to the user.
User enters the Temporary Identification Code and new password. His password is changed.
Logged-in-user enters old password and new password. His password is changed.
Logged-in-user enters new username and password. His username is changed.
Logged-in-user enters new email address. The account is changed to auth=emailpending and a Temporary Identification Code is sent to the new email address.
Pending user enters Temporary Identification Code and password and his registration is completed and he is logged in as a new user.