Added a call to the server to fetch the events