Added try/catch to form so users redirected to page if bad form