-added client code for (get all events, get user joined events, get user
created events) and (get event based on event id)