changed password type to password