search controller now its verified and validated by tests