added form elements and some styling