added server-side rendering