added form and post method