Enforced uniqueness on emails and added autoincrement to keys.