Fixing log_page_view() bug and spacing issue.