Calendar pulls events from database