hapi directory DB