added functionality for viewing only the upcoming events