Add unique indexes on email and username.
Check and update email verification date.