Added the events controller