added jquery to layout and added a submit button for the form