commented out database calls in eventmanager