changed register_event and register_account to underscore format