adding referrer check on api