auth and search