modify doc

updated tutorial for connection establishment