Implmented last methods to chat with client.