communication with BBServer part 1

init,, login, close