changed the text field to password field