add logging for page_loaded_method