register controller