register api successful