render templates server-side, send models