added register.attributes for hapi 6.x