Added email and reg_key fields to user and created a database migration to apply the updates.
Expanded add_user function for new fields and to validate uniqueness of required fields.
Modified add_user function to account for user confirmation.
Began refactoring tests to reflect new user model. Removed read_user tests, as they weren't implemented and the read-User function has been discarded anyway.
Finished initial refactor of tests to reflect new User model.
Successfully refactored tests to new user model and worked out kinks.
Added skeleton tests for add_user function.
Deleted initial empty migration and removed downgrade ref to it from second migration.
Added a TempUser model and removed reg_key from standard User model.
Deleted old migrations and started fresh because they were hopelessly broken.
Began refactoring to take into account new TempUser model.
Began refactoring tests.