changes to layout, created separate template for restricted pages