register controller done