added password type to password field