server + client , registration works