form refactoring - form class instead of the form in controller