Load saved queries from the database on pageload.