added local storage , fix up the frontend , it could add events to a list and could clear them all