added lifecycle sections to viewModel-page.html and components-page.html