Rendering pages in app and default