adding client registration with server