Added AJAX functions for the new agenda page