added form deafult values and formsubmit handler