add category to message flashing
use alert-error for form errors