post registration id to server