rendering templates and serving static files works