Added functionality to the password text boxes.