Change to a system where we don't send the page from haskell and we just have two custom endpoints