API: store and retrieve the token properly
Template function update

Return only the events as part of the function for getting user owned events