created ajax calls for the reports