init events controller