Input password function added