implement connection between server