explanantion about login and host