Add the uniqueness validation to the models
Refactor `validates` in user.rb (move to the new API)
Add indices to existing tables