added prerendering of pages