Added events page functionality