added possibility to suply cookie value as queryString