moved code to find database users into a separate function + some minor performance tweaks in ViewDatabasePage.scrape