add event api call functioning & response renders on view