Changed search for to use get request