Added some basic error handling, so now it will flash messages and validate forms that used FORM_FIELD macro.