How do I resolve a 404 error when submitting my forms?