registered the controller with the app