setting the thing in client
chat client read from server
chat client read from server
add a thread in client to see the messagges