add referer to encryption