search projects function added