added log after successfully registration.