before, mongodb query parens open, so req and res = err and success. closed it, so now working correctly in routes