basic form and submit action implemented