Connect chatrooms list to database