Add event and user api