add event code, update diagrams and apiray. Miss /users/{id}/succcess