implemented logs for all pages