Improved logging to avoid unnecessary entries
Added default page when no db is found.