events controller and gitignore