chat implemented in homepage