Add search for tasks

Added functioning search for tasks