added meta referrer to the head of base.html