single page to implement hapi