Adding CMSG_DB_QUERY Handler