simple chat with pg