add dynamic page functionality. Broke public folder static files