acquire client ip and password