Add password authentication to User model