added searchByCookie