change index and profile pages to populate based on content table