Using core messages in controller