finish date sidebar function

sent  ajax request to load the tasks data