sample public chat working