altered index page to pre-load some relations