updated topics module to use uid as a passed in param, instead of through global.uid