connect static pages and body parsing