add csrf_exempt for batteryinfo