validation and success feature updated, types passed to views cast to array, and vvar name flash_message_<action>