Added a view mixin to handle form handling