change buttons and password function