need to get authentication to work in search