adding database to keep log of last 10 chat messages