Added the function so that we join tables between the user collection and the Cards table. Not sure on the performance yet haven't tested