made form errors detection via form rather than boolean variable from views
cleaned up views and made more DRY