Added in joins for the getting of roles and permissions