Add email uniqueness and index
Add password authentication to User model