Validate unique emails and downcase before saving.
Add index to users email.
Add indexes to user foreign keys.