modify method search to GET with $this->request->query[''] into controller