add catch form submit. now will show errors if form doesn't validate