Added custom query on index page