client register logic changed