Separating HTML form controller to the views