Adds visitors log that queries the database.
Adds visitors log that queries the database.
Adds visitors log using database query.