flash messages should use config based names for resources