Parameterized the hostname the Client connects to and added a field in login to input the address.