Adding Referer check section to CSRF