getEvents method in EventsDao added