added custom query to get likes and ownership