provide register api with the country code of the registered user