working on ajax data for dashboard