working chat without data persist