wiring components in page.js