added localhost check for master app