changed calendar controller to recognize assignments as events