Revert "removed server side code as it can't be rendered"

This reverts commit 137251a6b399c92d295a73ee10f9484a6643ac22.