added validator service, changed to jsonresponse