changed sample app for hapi sdk to be more useful for crud operations