Added authentication on the jsonrpc server