set user messages and labels in controller