added registration changes for new DB