added referrer param to authorize widget