Created a template to render the events page