Implemented EventsController together with view