Generate forms and handle them