fixed url connect and added some more informative prints
fixed no app name when connecting to local