get the name and ip address in the input form