Added authentication to every query