add api for users, sessions, registration, and events