Implemented Ctrl c on client and  private message functionality