notify the server on registration