simple chat room associating with database