events controller and index view