Adds password authentication for user model