Adds password check