add register controller