Added dynamic functionality to event_dyn page using cookies