add module to handle portal db