add events controller