adding input and submit buttons