Put all form fields into div and displayed error messages when they occur. Still need to figure out re-direct within the latter function