added basic validation interceptor for query params