reworked Topic queries to use userId istead of username