Trying to get joins in queries to work
Linked the models together