converting into server rendered app