Made username and password optional and added serviceName member to config file.