fixed login and bond socket