Removes all expired events of all users.
getEvent and getAll functions have to be implemented. Date checking and error checking is to be implemented. Then combine this with network part (server-client interaction)