Exclude system and anonymous user in query uri