Updated Web app to use new RPC calls