Add password authentication to user model