refactor forms and buttons