Added logging to the calendar controller