Buisy with building of the from submits

made form submit logic