Added referer for file uploads