event manager

commented out database calls