make homepage actually work in browser