added a principal query param to users resource