Updated new form to render error messeges