api updates for user regiter