change before_request logic.
modify tag.html.