Added log msg to register controller