added referer to server class