Change register controller to log the actions as well