updated to use basic layout and rendering homepage and newsletter page