Added support for password input