Modified client, now asks for input rather than sending predefined string