got db info onto the page from the settings