changed query to reflect kWh
added http:// to localhost to allow opening