added basic server side rendering