added history graph, sms notification support